package com.irdstudio.efp.edoc.service.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.irdstudio.efp.edoc.service.bo.LogErrorInfoVO;
import com.irdstudio.efp.edoc.service.domain.LogErrorInfo;

/**
 * 
 * 异常信息表
 * 
 * @author ludayong
 * @since 2019年1月21日 下午9:11:11
 * @version 1.0
 */
public interface LogErrorInfoDao {
	public LogErrorInfo queryByApplySeq(LogErrorInfo logErrorInfo);

	public int countByApplySeq(LogErrorInfo logErrorInfo);

	public int countByApplySeqAndStates(@Param("applySeq") String applySeq, @Param("states") List<String> states);

	public int updateByCondition(LogErrorInfo logErrorInfo);

	public int updateStateBySernos(Map<String, Object> map);

	public int deleteByApplySeq(LogErrorInfo logErrorInfo);

	public int insertLogErrorInfo(LogErrorInfo logErrorInfo);

	public List<LogErrorInfo> queryAllByCondition(LogErrorInfoVO logErrorInfo);

	public List<LogErrorInfo> queryByErrorTypeStates(@Param("errorType") String errorType, @Param("states") List<String> states);
	
	public List<LogErrorInfo> queryByStates(@Param("states") List<String> states);

}